package com.aaa.entity.repair;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName BackEntrepot
 * @Description 门店仓库管理
 * @Author caolinlin
 * @Date 2018/12/21 9:51
 **/

@Data
public class BackEntrepot {
    /**
     * 学校id
     */
    private int schoolId;
    /**
     * 商品名
     */
    private String goodsname;
    /**
     * 商品类型id
     */
    private int goodstypeId;
    /**
     * 商品id
     */
    private int id;
    /**
     * 商品数量
     */
    private int goodsquantity;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yy-MM-dd hh:mm:ss")
    private Date createtime;
    /**
     * 修改时间
     */
    private Date updatetime;
    /**
     * 删除状态
     */
    private int isdelete;
    /**购买数量*/
    private Integer goodsNumber;

    /***
     * 添加订单的时候需要的字段
     */
    //订单号
    private String expenseorder;
    //手机号
    private String telephone;
    //单价
    private Double goodscost;
    /**
     * 添加订单时的花费(单价*购买数量)
     */
    private Double cost;
    /**
     * 添加订单时的总花费((单价*购买数量)++)
     */
    private Double countCost;

    private Integer employeeid;

    public Integer getEmployeeid() {
        return employeeid;
    }

    public void setEmployeeid(Integer employeeid) {
        this.employeeid = employeeid;
    }

    public Double getCountCost() {
        return countCost;
    }

    public void setCountCost(Double countCost) {
        this.countCost = countCost;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public int getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(int schoolId) {
        this.schoolId = schoolId;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public int getGoodstypeId() {
        return goodstypeId;
    }

    public void setGoodstypeId(int goodstypeId) {
        this.goodstypeId = goodstypeId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoodsquantity() {
        return goodsquantity;
    }

    public void setGoodsquantity(int goodsquantity) {
        this.goodsquantity = goodsquantity;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public Integer getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getExpenseorder() {
        return expenseorder;
    }

    public void setExpenseorder(String expenseorder) {
        this.expenseorder = expenseorder;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Double getGoodscost() {
        return goodscost;
    }

    public void setGoodscost(Double goodscost) {
        this.goodscost = goodscost;
    }
}
